Initializes a new instance of the BarSeries class.
Namespace: MindFusion.Charting
File: BarSeries.js
SyntaxJavaScript
Copy Code
|
|---|
function BarSeries (values, innerLabels, [topLabels, [xAxisLabels]]) |
Type: List
A list of data values.
Type: List
A list of inner labels.
Type: List
A list of top labels.
Type: List
A list of X axis labels.
ExampleThe following code creates two BarSeries with data and outer labels and a new BarStackRenderer using these series.
JavaScript
Copy Code
|
|---|
//the second argument specifies the inner labels, the third argument specifies the top(outer) labels var barRenderer = new Charting.BarStackRenderer(new Collections.ObservableCollection([data1, data2])); |
See Also